package com.duduya.platforms.weixin.controller;

import javax.servlet.http.HttpServletRequest;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController(value = "test")
@RequestMapping("/test")
public class TestController {
	
	@RequestMapping(value = "test")
	public String register(HttpServletRequest request) throws Exception{
		String ss = request.getAttribute("phone") + "";
		System.out.println(ss);
		return ss;
	}
}
